package com.andy.local.dao;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 库存表
 * </p>
 *
 * @author andylin
 * @since 2021-04-10
 */
@Data
@Accessors(chain = true)
@TableName("stock")
public class Stock {

@ApiModelProperty(value = "配件ID")
@TableField("goodid")
private Integer goodid;

@TableId(value="Id", type= IdType.AUTO)
private Integer id;

@ApiModelProperty(value = "数量")
@TableField("number")
private Integer number;

@ApiModelProperty(value = "价格")
@TableField("price")
private Integer price;

@ApiModelProperty(value = "预警值")
@TableField("warning")
private Integer warning;

@ApiModelProperty(value = "OSS图片地址")
@TableField("picture")
private String picture;


}